
import { Iform } from "@/base-ui/form"

export const searchFormConfig: Iform = {
  formItems: [
    {
      field: 'name',
      type: "input",
      label: "账号2",
      placeholder: "请输入账号",
    },
    {
      field: 'realname',
      type: "password",
      label: "真实姓名",
      placeholder: "请输入真实姓名",
    },
    {
      field: 'cellphone',
      type: "password",
      label: "手机号码",
      placeholder: "请输入手机号码",
    },
    {
      field: 'enable',
      type: "select",
      label: "状态",
      placeholder: "请选择状态",
      rules: [],
      options: [
        { label: "启用", value: 1 },
        { label: "禁用", value: 0 },
      ],
    },
    {
      field: 'createAt',
      type: "datepicker",
      label: "创建时间",
      otherOption: {
        startPlaceholder: "开始时间",
        endPlaceholder: "结束时间",
        type: "date",
      },
    },
  ],
  labelWidth: "100px",
  itemStyle: {
    padding: "5px 10px",
  },
  colLayout: {
    span: 8,
  },
};